const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    devServer: {
        proxy: {
            '/api': {
                target: 'http://localhost:9090',
                ws: true,
                pathRewrite: {'/api': ''},
                changeOrigin: true
            },
        },
        open: true,
        port: "8080",
        host: 'localhost'
    },
})
